package com.lb.sssq.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.lb.sssq.domain.UserSession;
import com.lb.sssq.persistence.TUserMapper;

@Repository
public class TUserDao {
	  @Autowired
	  private TUserMapper userMapper;
	  	
	  /**
		 * guanxuxing
		 * 根据用户的id获取用户信息
		 * @param userSessionId
		 * @return
		 */	
	  public UserSession getMobileById(Integer userSessionId){
		  return this.userMapper.getMobileById(userSessionId);
	  };
}
